#include<stdio.h>
int main()
{
    int n;
    while(~scanf("%d",&n))
    {
        while(n--)
        {
            int year;
            int type;
            scanf("%d",&year);
            scanf("%d",&type);
            if(year == 1)
            {
                i
            }
            
        }
    }
}